package com.qfedu.pojo;

import java.util.Objects;
import java.util.function.BooleanSupplier;

public class AuthPojo {
    private int auid;
    private String auname;
    private String aupath;
    private String autype;
    private int aupid;
    private Boolean isChecked=false;

    @Override
    public String toString() {
        return "AuthPojo{" +
                "auid=" + auid +
                ", auname='" + auname + '\'' +
                ", aupath='" + aupath + '\'' +
                ", autype='" + autype + '\'' +
                ", aupid=" + aupid +
                '}';
    }


    public Boolean getChecked() {
        return isChecked;
    }

    public void setChecked(Boolean checked) {
        isChecked = checked;
    }

    public int getAuid() {
        return auid;
    }

    public void setAuid(int auid) {
        this.auid = auid;
    }

    public String getAuname() {
        return auname;
    }

    public void setAuname(String auname) {
        this.auname = auname;
    }

    public String getAupath() {
        return aupath;
    }

    public void setAupath(String aupath) {
        this.aupath = aupath;
    }

    public String getAutype() {
        return autype;
    }

    public void setAutype(String autype) {
        this.autype = autype;
    }

    public int getAupid() {
        return aupid;
    }

    public void setAupid(int aupid) {
        this.aupid = aupid;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        AuthPojo authPojo = (AuthPojo) o;
        return auid == authPojo.auid;
    }

    @Override
    public int hashCode() {
        return Objects.hash(auid);
    }
}
